﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Dao;
using System.Data;

namespace Website.uc
{
    public partial class ucSumary : System.Web.UI.UserControl
    {
        AuctionSessionDao auctionSessionDao = new AuctionSessionDao();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                DataTable tb = auctionSessionDao.getAllAuctionSessionByUser(Session["userId"].ToString());
                GridView1.DataSource = tb;
                GridView1.DataBind();
            }
        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}